﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;
using IHISCETeim.Library;
using IHISCETeim.Model;


namespace IHISCETeim.Web.MachineSys.UserModel.ExportExecl
{
    public partial class ExportU4008RecordList : U4008RecordList
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataBind();
        }
        protected void DataBind()
        {
            //  string wheresql = QueryOperatorsEnumHelper.ConvertCommonOperator(CommonFiled, QueryOperatorsEnum.包含, CommonValue);

            this.rpMenu.DataSource = U4008RecordController.GetPagination("", RealName, SerialNumber, CustomerName, AgentName, IsComplete, CallDateFrom, CallDateTo, pageNum, 99999999, SQLSort, ref TotalCount);
            this.rpMenu.DataBind();

            this.ExportToExecl("用户来电记录表", this.rpMenu);
        }
    }
}